<?php
class Zend_View_Helper_Menu extends Zend_View_Helper_Abstract {
    public function menu(){
        /*$modelCategoria = new Application_Model_Categoria();
        $itens = $modelCategoria->fetchAll()->toArray();*/

        $html = new Zend_View();
        /**
         * Converte <? para <?php
         * declaramos aqui, pois é uma nova instancia de Zend_View
         */
        $html->setUseStreamWrapper(true);

        $html->itensMenu = $itens;
        $html->setScriptPath(APPLICATION_PATH . '/modules/default/views/scripts/');
        return $html->render('partial/menu.phtml');
    }
}